package com.eb.buybuybuy.bean;

import java.math.BigDecimal;
import java.util.List;

public class UserCart {
    private Integer countNum;
    private BigDecimal countPrice;
    private List<CartGoods> cartGoods;

    @Override
    public String toString() {
        return "UserCart{" +
                "countNum=" + countNum +
                ", countPrice=" + countPrice +
                ", cartGoods=" + cartGoods +
                '}';
    }

    public Integer getCountNum() {
        return countNum;
    }

    public void setCountNum(Integer countNum) {
        this.countNum = countNum;
    }

    public BigDecimal getCountPrice() {
        return countPrice;
    }

    public void setCountPrice(BigDecimal countPrice) {
        this.countPrice = countPrice;
    }

    public List<CartGoods> getCartGoods() {
        return cartGoods;
    }

    public void setCartGoods(List<CartGoods> cartGoods) {
        this.cartGoods = cartGoods;
    }

    public UserCart() {
    }

    public UserCart(Integer countNum, BigDecimal countPrice, List<CartGoods> cartGoods) {
        this.countNum = countNum;
        this.countPrice = countPrice;
        this.cartGoods = cartGoods;
    }
}
